<?php
/**
 * Project: AIGC
 * Author: moufer <moufer@163.com>
 * Date: 2024/7/6 12:22
 */

namespace module\ai\library\channel\interface;

use mof\Model;

interface ConfigInterface
{
    public static function getName(): string;

    public static function getFlag(): string;

    public static function models(): array;

    public function getConfigForm(Model $model = null): array;

    public function validateConfig(array $data);

}